<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="s" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  
  
  <body>
       
           <iframe name="smz" width="0" height="0" frameborder="0"
                style="display: none" >  </iframe>
        <form action="fileUploadsss" method="post" enctype="multipart/form-data" target="smz" name="uptest">
           <table width="80%" border="1" cellspacing="0" cellpadding="0">
              <tr>
                  <td width="20%" align="right">
                      <font color="red">*</font>上传图片文件
                  </td>
                  <td width="20%">
                  <input type="file" name="myFile" id="myFile" />
                  <input type="submit" value="Upload" />
			       <input type="hidden" name="pagePath" id="_page_path"/>
                  </td>    
              </tr>
           </table>
       </form>
    </body>
    <script type="text/javascript">
    alert();
        var _page_path = uptest.pagePath.value;
        alert(_page_path);
        if(null!=_page_path  && ""!=_page_path){
               window.returnValue=_page_path;
               window.close();
        }
    </script>
</html>
